API

Product APIs

GET product/structure-versions

All versions for all product structures

HTTP method GET
URI https://api.rambase.net/product/structure-versions
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 3852, version 9

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

BaseVersion Integer Base version of the product structure. Will initially be set as the version from the products active product structure.
CreatedAt Datetime Date and time of creation. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
Description String Description of this product structure version.
HasEndOfLifeMaterial Boolean Flag to indicate if the structure contains products which is at end of life.
IsBaseStructure Boolean If true the structure version is a base structure for product.
IsDefaultBaseStructure Boolean If true the structure version is a default base structure for product.
Name String Name of the product structure version.
NeedsMaterialReplacementToRelease Boolean A flag to indicate if product structure contains “dummy” product which needs to be replaced in the production work order structure before releasing the production.
OwnerType String Type of product structure.
ProductId Docref-it Product identifier.
ProductName String Name of the product.
ProductStatus Integer Status of the product.
ProductType String Type of product.
Revision String The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.
Status Integer Status of product structure.
Version Integer Version number of this product structure.

Read more about filters and sorting on how to use sortable parameters

BaseVersion Integer Base version of the product structure. Will initially be set as the version from the products active product structure.
CreatedAt Datetime Date and time of creation
Description String Description of this product structure version
HasEndOfLifeMaterial Boolean Flag to indicate if the structure contains products which is at end of life
IsBaseStructure Boolean If true the structure version is a base structure for product
IsDefaultBaseStructure Boolean If true the structure version is a default base structure for product
Name String Name of the product structure version
NeedsMaterialReplacementToRelease Boolean A flag to indicate if product structure contains “dummy” product which needs to be replaced in the production work order structure before releasing the production
OwnerType String Type of product structure
ProductId Docref-it Product identifier
ProductName String Name of the product
ProductStatus Integer Status of the product
ProductType String Type of product
Revision String The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.
Status Integer Status of product structure
Version Integer Version number of this product structure

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<ProductStructuresVersions>
2
     <ProductStructureVersion>
3
          <ProductStructureVersionId
ProductStructureVersionId

Product structure identifier

>
{Integer}</ProductStructureVersionId>
4
          <Status
Status

Status of product structure

Possible domain values can be found here

>
{Integer}</Status>
5
          <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
6
          <Name
Name

Name of the product structure version

>
{String}</Name>
7
          <Description
Description

Description of this product structure version

>
{String}</Description>
8
          <Version
Version

Version number of this product structure

>
{Integer}</Version>
9
          <NoteToOperators
NoteToOperators

Information about product structure's version left for production operator

>
{String}</NoteToOperators>
10
          <Revision
Revision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

>
{String}</Revision>
11
          <ContainsMaterialPendingExpiration
ContainsMaterialPendingExpiration

Flag to indicate if the structure contains products which is at end of life

>
{Boolean}</ContainsMaterialPendingExpiration>
12
          <NeedsMaterialReplacementToRelease
NeedsMaterialReplacementToRelease

A flag to indicate if product structure contains “dummy” product which needs to be replaced in the production work order structure before releasing the production

>
{Boolean}</NeedsMaterialReplacementToRelease>
13
          <IsBaseStructure
IsBaseStructure

If true the structure version is a base structure for product

>
{Boolean}</IsBaseStructure>
14
          <BaseVersion>
15
               <ProductStructureVersionId
ProductStructureVersionId

Product structure identifier

>
{Integer}</ProductStructureVersionId>
16
               <Version
Version

Base version of the product structure. Will initially be set as the version from the products active product structure.

>
{Integer}</Version>
17
               <ProductStructureVersionLink
ProductStructureVersionLink

Product structure reference

>
{String}</ProductStructureVersionLink>
18
          </BaseVersion>
19
          <CreatedBy
CreatedBy

The employee who made this product structure version

>
20
               <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
21
               <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
22
          </CreatedBy>
23
          <Validity>
24
               <EffectiveDate
EffectiveDate

Effective date this product structure will be valid frmo

>
{Date}</EffectiveDate>
25
               <ExpireDate
ExpireDate

Expire date of this product structure

>
{Date}</ExpireDate>
26
          </Validity>
27
          <Drawing
Drawing

Drawing of the product structure

>
28
               <Database
Database

Database of the object

>
{String}</Database>
29
               <FileVersionId
FileVersionId

File identifier

>
{String}</FileVersionId>
30
               <FileVersionLink
FileVersionLink

File reference

>
{String}</FileVersionLink>
31
          </Drawing>
32
          <ActivatedBy
ActivatedBy

Employee who activated the product structure

>
33
               <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
34
               <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
35
          </ActivatedBy>
36
          <ProductStructure>
37
               <ProductStructureId
ProductStructureId

Product structure identifier

>
{Long}</ProductStructureId>
38
               <OwnerType
OwnerType

Type of product structure

Possible domain values can be found here

>
{String}</OwnerType>
39
               <Product
Product

The product this structure is valid for

>
40
                    <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
41
                    <Status
Status

Status of the product

Possible domain values can be found here

>
{Integer}</Status>
42
                    <Name
Name

Name of the product

>
{String}</Name>
43
                    <Type
Type

Type of product

Possible domain values can be found here

>
{String}</Type>
44
                    <Description
Description

Description of the product

>
{String}</Description>
45
                    <ProductLink
ProductLink

Product identifier

>
{String}</ProductLink>
46
               </Product>
47
               <Owner
Owner

The owner of the product structure

>
48
                    <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
49
                    <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
50
                    <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
51
                    <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
52
                    <ItemType
ItemType

Type of item

>
{String}</ItemType>
53
                    <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
54
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
55
               </Owner>
56
          </ProductStructure>
57
          <ProductStructureVersionLink
ProductStructureVersionLink

Product structure identifier

>
{String}</ProductStructureVersionLink>
58
          <ManufacturingArea
ManufacturingArea

This field is greyed out because it is an expandable field. You have to add $expand=ProductStructureVersion.ManufacturingArea in your request URI to get this field

>
59
               <ManufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

This field is greyed out because it is an expandable field. You have to add $expand=ProductStructureVersion.ManufacturingArea in your request URI to get this field

>
{Integer}</ManufacturingAreaId>
60
               <Name
Name

Name of manufacturing area

This field is greyed out because it is an expandable field. You have to add $expand=ProductStructureVersion.ManufacturingArea in your request URI to get this field

>
{String}</Name>
61
          </ManufacturingArea>
62
     </ProductStructureVersion>
63
     <Paging
Paging

Detailed paging information for this list.

>
64
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
65
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
66
          <Page
Page

Page index

>
{Integer}</Page>
67
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</FirstPageKey>
68
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
69
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</PreviousPageKey>
70
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
71
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</NextPageKey>
72
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
73
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</LastPageKey>
74
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
75
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
76
     </Paging>
77
</ProductStructuresVersions>
1
{
2
     "productStructuresVersions": [
3
          {
4
               "productStructureVersionId
ProductStructureVersionId

Product structure identifier

":
"{Integer}",
5
               "status
Status

Status of product structure

Possible domain values can be found here

":
"{Integer}",
6
               "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
7
               "name
Name

Name of the product structure version

":
"{String}",
8
               "description
Description

Description of this product structure version

":
"{String}",
9
               "version
Version

Version number of this product structure

":
"{Integer}",
10
               "noteToOperators
NoteToOperators

Information about product structure's version left for production operator

":
"{String}",
11
               "revision
Revision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

":
"{String}",
12
               "containsMaterialPendingExpiration
ContainsMaterialPendingExpiration

Flag to indicate if the structure contains products which is at end of life

":
"{Boolean}",
13
               "needsMaterialReplacementToRelease
NeedsMaterialReplacementToRelease

A flag to indicate if product structure contains “dummy” product which needs to be replaced in the production work order structure before releasing the production

":
"{Boolean}",
14
               "isBaseStructure
IsBaseStructure

If true the structure version is a base structure for product

":
"{Boolean}",
15
               "baseVersion": {
16
                    "productStructureVersionId
ProductStructureVersionId

Product structure identifier

":
"{Integer}",
17
                    "version
Version

Base version of the product structure. Will initially be set as the version from the products active product structure.

":
"{Integer}",
18
                    "productStructureVersionLink
ProductStructureVersionLink

Product structure reference

":
"{String}"
19
               },
20
               "createdBy
CreatedBy

The employee who made this product structure version

":
{
21
                    "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
22
                    "employeeLink
EmployeeLink

Employee reference

":
"{String}"
23
               },
24
               "validity": {
25
                    "effectiveDate
EffectiveDate

Effective date this product structure will be valid frmo

":
"{Date}",
26
                    "expireDate
ExpireDate

Expire date of this product structure

":
"{Date}"
27
               },
28
               "drawing
Drawing

Drawing of the product structure

":
{
29
                    "database
Database

Database of the object

":
"{String}",
30
                    "fileVersionId
FileVersionId

File identifier

":
"{String}",
31
                    "fileVersionLink
FileVersionLink

File reference

":
"{String}"
32
               },
33
               "activatedBy
ActivatedBy

Employee who activated the product structure

":
{
34
                    "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
35
                    "employeeLink
EmployeeLink

Employee reference

":
"{String}"
36
               },
37
               "productStructure": {
38
                    "productStructureId
ProductStructureId

Product structure identifier

":
"{Long}",
39
                    "ownerType
OwnerType

Type of product structure

Possible domain values can be found here

":
"{String}",
40
                    "product
Product

The product this structure is valid for

":
{
41
                         "productId
ProductId

Product identifier

":
"{Integer}",
42
                         "status
Status

Status of the product

Possible domain values can be found here

":
"{Integer}",
43
                         "name
Name

Name of the product

":
"{String}",
44
                         "type
Type

Type of product

Possible domain values can be found here

":
"{String}",
45
                         "description
Description

Description of the product

":
"{String}",
46
                         "productLink
ProductLink

Product identifier

":
"{String}"
47
                    },
48
                    "owner
Owner

The owner of the product structure

":
{
49
                         "objectId
ObjectId

Identifier of the object

":
"{Integer}",
50
                         "objectType
ObjectType

Type of object

":
"{String}",
51
                         "objectLink
ObjectLink

API reference to the object

":
"{String}",
52
                         "itemId
ItemId

Item-number of the object

":
"{Integer}",
53
                         "itemType
ItemType

Type of item

":
"{String}",
54
                         "itemLink
ItemLink

API reference to the item

":
"{String}",
55
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
56
                    }
57
               },
58
               "productStructureVersionLink
ProductStructureVersionLink

Product structure identifier

":
"{String}",
59
               "manufacturingArea
ManufacturingArea

This field is greyed out because it is an expandable field. You have to add $expand=ProductStructureVersion.ManufacturingArea in your request URI to get this field

":
{
60
                    "manufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

This field is greyed out because it is an expandable field. You have to add $expand=ProductStructureVersion.ManufacturingArea in your request URI to get this field

":
"{Integer}",
61
                    "name
Name

Name of manufacturing area

This field is greyed out because it is an expandable field. You have to add $expand=ProductStructureVersion.ManufacturingArea in your request URI to get this field

":
"{String}"
62
               }
63
          }
64
     ],
65
     "paging
Paging

Detailed paging information for this list.

":
{
66
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
67
          "position
Position

Position of the first element in the list

":
"{Integer}",
68
          "page
Page

Page index

":
"{Integer}",
69
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
70
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
71
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
72
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
73
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
74
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
75
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
76
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
77
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
78
     }
79
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return: